package com.model;

import java.util.Date;

public class Payment {
	private int id;
	private String paymentNo;
	private int paymentMethod;
	private double amount;
	private int saleOrder_Id;
	private Date createDateTime;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getPaymentNo() {
		return paymentNo;
	}

	public void setPaymentNo(String paymentNo) {
		this.paymentNo = paymentNo;
	}

	public int getPaymentMethod() {
		return paymentMethod;
	}

	public void setPaymentMethod(int paymentMethod) {
		this.paymentMethod = paymentMethod;
	}

	public double getAmount() {
		return amount;
	}

	public void setAmount(double amount) {
		this.amount = amount;
	}

	public int getSaleOrder_Id() {
		return saleOrder_Id;
	}

	public void setSaleOrder_Id(int saleOrder_Id) {
		this.saleOrder_Id = saleOrder_Id;
	}

	public Date getCreateDateTime() {
		return createDateTime;
	}

	public void setCreateDateTime(Date createDateTime) {
		this.createDateTime = createDateTime;
	}

	@Override
	public String toString() {
		return "Payment [id=" + id + ", paymentNo=" + paymentNo
				+ ", paymentMethod=" + paymentMethod + ", amount=" + amount
				+ ", saleOrder_Id=" + saleOrder_Id + ", createDateTime="
				+ createDateTime + "]";
	}

}
